<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>用户注册</title>
    <link rel="stylesheet" type="text/css" href="__MOBILE__/css/bootstrap.css">
    <style type="text/css">
        body{background-color:; font-size: 16px;}
    </style>
</head>
<body>
    <div class="container" class="text-center" style="padding-top: 10%;">
        <p class="text-center" style="color: #0C0C0C; font-size: 18px;">用户注册</p>
        <form class="form-horizontal" method="post" action="{:url('mobile/User/regist')}">
            <div class="form-group">
                <label for="inputName" class="col-sm-2 control-label">用户名：</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control regist-input" id="inputName" name="nickname">
                </div>
            </div>

            <div class="form-group">
                <label for="inputPassword1" class="col-sm-2 control-label">设置密码：</label>
                <div class="col-sm-5">
                    <input type="password" class="form-control regist-input" id="inputPassword1" name="password">
                </div>
            </div>

            <div class="form-group">
                <label for="inputPassword2" class="col-sm-2 control-label">确认密码：</label>
                <div class="col-sm-5">
                    <input type="password" class="form-control regist-input" id="inputPassword2" name="repassword">
                </div>
            </div>

            <div class="form-group">
                <label for="mobile" class="col-sm-2 control-label">手机号码：</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control regist-input" id="mobile" name="mobile">
                </div>
            </div>

            <div class=" form-group">
                <label for="mycode" class="col-sm-2 control-label">短信验证：</label>
                <div class="col-sm-5">
                    <input type="password" style="width:68%; display: inline-block;" class="form-control regist-input" id="mycode" name="code">
                    <button class="btn btn-default getcode" style="width:30%;" type="button" onclick="getPhoneCode();">获取验证码</button>
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-5" class="text-center" style="padding-left: 39%;">
                    <button type="submit" id="regist-tj" class="btn btn-default btn-lg" onclick="return checkRegist(this.form)">注册</button>
                </div>
            </div>
        </form>
    </div>
</body>
<script src="__MOBILE__/js/jquery.min.js"></script>
<script src="__MOBILE__/js/bootstrap.min.js"></script>
<script src="__MOBILE__/js/validate.js"></script>
</html>